package app;


import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class UploadDialog extends JFrame {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					UploadDialog frame = new UploadDialog();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public UploadDialog() {
		setTitle("Subir archivo");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 543, 197);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JButton btnSeleccionarArchivo = new JButton("Archivo...");
		btnSeleccionarArchivo.setIcon(new ImageIcon(UploadDialog.class.getResource("/icons/application-x-gnome-saved-search.png")));
		btnSeleccionarArchivo.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		btnSeleccionarArchivo.setBounds(350, 12, 165, 37);
		contentPane.add(btnSeleccionarArchivo);
		
		JButton btnNewButton = new JButton("Llave privada...");
		btnNewButton.setIcon(new ImageIcon(UploadDialog.class.getResource("/icons/emblem-dropbox-unsyncable.png")));
		btnNewButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
		btnNewButton.setBounds(350, 61, 163, 37);
		contentPane.add(btnNewButton);
		
		JButton btnNewButton_1 = new JButton("Subir");
		btnNewButton_1.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		btnNewButton_1.setIcon(new ImageIcon(UploadDialog.class.getResource("/icons/emblem-dropbox-uptodate.png")));
		btnNewButton_1.setBounds(350, 110, 165, 37);
		contentPane.add(btnNewButton_1);
		
		JLabel filePathLabel = new JLabel("Ruta de Archivo");
		filePathLabel.setBounds(22, 23, 283, 15);
		contentPane.add(filePathLabel);
		
		JLabel keyPathLabel = new JLabel("Ruta de llave");
		keyPathLabel.setBounds(22, 72, 283, 15);
		contentPane.add(keyPathLabel);
	}
}
